﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Role_Default" %>

<%@ Register TagPrefix="Site" TagName="Header" Src="Header.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Default</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body bgcolor="Black">
		<form id="Form1" method="post" runat="server">
			<div style="width: 300; background-color: White;">
				<Site:Header runat="server" id="Header"></Site:Header>
				<div style="background-color: #336699; color: white; padding: 2; font-weight: bold">All 
					Members</div>
				<asp:Repeater id="UsersRepeater" runat="server">
					<ItemTemplate>
						<table width="100%">
							<tr>
								<td colspan="2"><%# DataBinder.Eval(Container.DataItem, "PersonID")%>. <font size="+1">
										<%# DataBinder.Eval(Container.DataItem, "UserName")%>
									</font>
								</td>
							</tr>
							<tr>
								<td width="100">Email</td>
								<td><%# DataBinder.Eval(Container.DataItem, "Email")%></td>
							</tr>
							<tr>
								<td>Biography</td>
								<td><%# DataBinder.Eval(Container.DataItem, "UserName")%></td>
							</tr>
							<tr>
								<td>Member Since</td>
								<td><%# string.Format("{0:dd/MM/yyyy}",DataBinder.Eval(Container.DataItem, "DateCreated")) %></td>
							</tr>
							<tr>
								<td colspan="2" align="right"><%# string.Format("<a href='AssignRoles.aspx?id={0}'>Assign Roles</a>",DataBinder.Eval(Container.DataItem, "PersonID")) %></td>
							</tr>
						</table>
						<hr noshade size="1">
					</ItemTemplate>
				</asp:Repeater>
			</div>
		</form>
	</body>
</HTML>